package com.feicheng.persistence.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.persistence.entity.Vip;
import com.feicheng.persistence.model.VipMain;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cailongyang
 * @since 2021-12-14
 */
public interface IVipService extends IService<Vip> {

    List<VipMain> getVips(QueryWrapper<VipMain> queryWrapper);

    Page<VipMain> getVipsByPage(Page<VipMain> vipMainPage, QueryWrapper<VipMain> queryWrapper);

    VipMain getVipById(QueryWrapper<VipMain> queryWrapper);

    List<VipMain> getVipByClientId(QueryWrapper<VipMain> vipMainQueryWrapper);

    Integer getAmount(QueryWrapper<VipMain> cardRecordQueryWrapper);
}
